package domain;

import groot.dozer.Enum.TypeEnum;
import groot.dozer.annotation.ClassMapping;
import groot.dozer.annotation.FieldMapping;
import lombok.Data;

/**
 * @author Groot
 * @since 2018/11/8 15:57
 */
@Data
@ClassMapping(value = NestBothwayPerson.class,type = TypeEnum.BI_DIRECTIONAL)
public class Person {

  @FieldMapping("nId")
  private Integer id;

  @FieldMapping("childPerson.name")
  private String name;



}
